<html>
	<head>
		<title>{% block title %}Main{% endblock %} - Eve Manager</title>
		<link rel="stylesheet" type="text/css" href="static/{{eve_data.stylesheet}}.css" />
		{% if auto_refresh %}
			<meta http-equiv="refresh" content="120" > 
		{% endif %}
	</head>
	<body>
		<div id="outside">
			<div id="header">
				<h1>{% block heading %}Main{% endblock %} - Eve Manager</h1>
			</div>

			<div id="topmenu">
					<hr/>
					<a href="/listops">Operations</a>&nbsp;&nbsp;
					<a href="/pilots">Pilots</a>&nbsp;&nbsp;
					<a href='/scanning'>Scanning</a>&nbsp;&nbsp;
					<a href='/awaylist'>Away List</a>&nbsp;&nbsp;
					<a href='/links'>Links</a>&nbsp;&nbsp;
					<a href='/eveinfo'>Debug</a>&nbsp;&nbsp;
					<a href='https://code.google.com/p/eveoptracker/wiki/AppHelpIntro' target="_blank">Help+</a>&nbsp;&nbsp;
					<hr/>
			</div>

			<div id="main">
				<div id="menu">
					{% block leftmenu %}{% endblock %}
				</div>
				<div id="content">
					{% block content %}{% endblock %}
				</div>
			</div>

			<div id="footer">		
				<hr/>
				<p>
					<i>
					Pilot: {{eve_data.char_name}}, corp: {{eve_data.corp_name}}, system: {{eve_data.system_name}}
					{% if eve_data.google_account %}<br/>Google ID:&nbsp;{{eve_data.google_account}}{% endif %}
					<br/>
					{% now "jS F Y H:i" %}
					</i>
				</p>
			</div>
		</div>
		<!--
			Cache: {{cache_items}} items, {{cache_ratio}}%
		-->
	</body>
</html>
